package com.open.capacity.service.impl;

import com.open.capacity.common.model.ActivityModel;
import com.open.capacity.mapper.ActivityMapper;
import com.open.capacity.service.ActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActivityServiceImpl implements ActivityService {
    @Autowired
    private ActivityMapper activityMapper;

    @Override
    public List<ActivityModel> findAll() {
        return activityMapper.findAll();
    }
}
